﻿package {
	import flash.display.MovieClip;
	import flash.events.MouseEvent;
	import hunterCommonlib.ui.ico.Ico;
	
	/**
	* ...
	* @author Default
	*/
	public class IcoSample extends MovieClip {
		
		public function IcoSample() {
			super()
			init();
		}
		public function init():void{
			var url:String = "http://i8.17173.itc.cn/web/2008/11/14/yr801.jpg"
			var ico:Ico = new Ico();
			ico.setFile(url);
			//ico.setFilePos(10, 10);
			ico.setDragOn(MouseEvent.MOUSE_DOWN, MouseEvent.MOUSE_UP);
			addChild(ico);
			trace(ico);
			
		}
		
	}
	
}